package com.neuedu.dao;

import com.neuedu.pojo.Employee;


import java.util.List;

public interface EmployeeDao {
    public List<Employee> getEmpAll() throws Exception;
    public Integer addEmp(String account,String password,String nickname,String telephone,String role,int isDel) throws Exception;

    public Integer delEmp(String id) throws Exception;

    public Integer update(String id, String account, String password, String nickname, String telephone, String role, String isDel) throws Exception;

    Employee selectPar(String account, String password) throws Exception;

    List<Employee> getEmp(String currentPage, String pageSize, String account, String nickname, String telephone) throws Exception;

    Long countEmp() throws Exception;


}
